package route

import (
	controller "02demo-iris-mysql/controller"
	iris "github.com/kataras/iris/v12"
	irismvc "github.com/kataras/iris/v12/mvc"
)

func InitRouter(app *iris.Application) {
	bathUrl := "/api"
	irismvc.New(app.Party(bathUrl + "/user")).Handle(controller.NewUserController())
}
